package com.ordersystem.service;

import com.ordersystem.domain.Employee;
import com.ordersystem.domain.EmployeeDistribution;
import com.ordersystem.domain.UpdateEmployeeImg;

import java.util.List;
import java.util.Map;

/**
 * @author : asus1020
 * @version : [v1.0]
 * @className : EmployeeService
 * @description : [描述说明该类的功能]
 * @createTime : [2022/3/25 20:24]
 * @updateUser : asus1020
 * @updateTime : [2022/3/25 20:24]
 * @updateRemark : [描述说明本次修改内容]
 */
public interface EmployeeService {
    Map findEmployee(String query, Integer pagenum, Integer pagesize);
    int updateEmployeeStatus(Integer eid,boolean status);
    int updateEmployee(Employee employee,Integer rid);
    int deleteEmployee(Integer eid);
    int addEmployee(Employee employee,Integer rid);
    int saveEmployeeHeaderImg(String headerImgPath,Integer eid);
    Employee login(String username,String password);
    int updateEmployeeHeaderImage(UpdateEmployeeImg employeeImg);
    List<EmployeeDistribution> getEmployeeDistribution();
    Integer statisticsEmployeeNumberByRid(Integer rid);
}
